/*
 * Use CCS to build the COFF file ( .out ) by opening the
 * CCS project file ( .pjt ) and selecting Debug -> Build.
 * Afterwards, open a DOS window in the same directory and type:
 *
 *     > hex6x fpga_loader_ahex.cmd
 *
 * to produce the ASCII Hex file ( .hex ) used for programming.
 * Use the FlashBurn application to program the Flash.
 *
 * For more help and options type:
 *
 *     > hex6x -h
 */

Debug\fpga_loader.out       /* Input File: COFF file format (.out) */
-a                          /* Output Format: ASCII Hex format (.hex) */
-boot                       /* Enable boot table generation */
-bootorg 0x90000400         /* Specify origin address or symbol of boot table ROM */
-bootsection .boot_load 0x90000000
-memwidth 8                 /* Set memory width */
-o fpga_loader_ahex.hex     /* Output File: ASCII Hex file (.hex) */

ROMS
{
    FLASH:  org = 0x90000000, len = 0x80000, romwidth = 8
}
